package com.cvdnn.aes.model;

import android.json.JSONUtils;
import android.math.Maths;

import org.json.JSONObject;

public final class ActionScheme extends Scheme {

    @Override
    public void onFormatJson(JSONObject json, String dox, int box) {
        JSONUtils.put(json, "action", Maths.valueOf(action, 0));
        JSONUtils.put(json, "dox", dox);
        JSONUtils.put(json, "box", box);
    }

    @Override
    public String scheme() {
        return "action";
    }
}
